package com.xhsj.user.sms.transfer.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xhsj.user.sms.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 任务转让
 * </p>
 *
 * @author suxiaolin
 * @since 2020-07-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_task_transfer")
public class TbTaskTransfer extends BaseEntity<TbTaskTransfer> {

    private static final long serialVersionUID = 1L;

    /**
     * 业务id
     */
    @TableField("data_id")
    private String dataId;

    /**
     * 接收人
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 归属模块类型0专利 1 合同证章 2采购 3 海外专利
     */
    @TableField("model_type")
    private Integer modelType;

    /**
     * 任务类型 0 个人任务 1审批任务
     */
    @TableField("task_type")
    private Integer taskType;

    /**
     * 申请类型
     */
    @TableField("apply_type")
    private String applyType;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Integer deptId;


    @TableField("content")
    private String content;

    /**
     * 接收状态 0未接收 1已接受 2已拒绝
     */
    @TableField("receiving_status")
    private Integer receivingStatus;

    @TableField(exist = false)
    private List<Integer>  userList;


}
